package com.gem.mapper;

import com.gem.entity.Appointment;

import java.util.List;

public interface AppointmentMapper {
    //通过apid查询
    Appointment selectById(Integer apid);
    //查询全部
    List<Appointment> selectAll();
    //添加
    boolean insert(Appointment appointment);
    //修改
    boolean update(Appointment appointment);

    //根据apid删除
    boolean deleteById(Integer apid);
}
